package com.ycode.bang.anbang.utils;

/**
 * Created by wcx on 15/11/14.
 */
public class UrlUtils {
//    public static String ROOTURL_V1 = "http:// 115.29.190.128/ble_car_ring/api/v1/";
//    public static String ROOTURL_V2 = "http:// 115.29.190.128/ble_car_ring/api/v2/";

//    public static String ROOTURL_V1 = "http://test.icarcom.com:8080/apiV1/";

    public static String shareUrl = "http://www.icarcom.com/about.gsp"; //http://test.icarcom.com
    public static String aboutIcarcom = "http://www.icarcom.com/static/images/download.jpg";
    public static String ROOTURL_V2 = "http://www.icarcom.com/apiV2/";

    /*public static String shareUrl = "http://test.icarcom.com/about.gsp"; //http://test.icarcom.com
    public static String aboutIcarcom = "http://test.icarcom.com/static/images/download.jpg";
    public static String ROOTURL_V2 = "http://test.icarcom.com:8080/apiV2/";*/

    //获取短信验证码
    public static String getSms(){
        return ROOTURL_V2+"sms/";
    }

    //注册
    public static String getRegister(){
        return ROOTURL_V2+"register/";
    }
    //找回密码
    public static String getFindBack(){
        return ROOTURL_V2+"resetPassword/";
    }
    //登陆
    public static String getLogin(){
        return ROOTURL_V2+"login/";
    }
    //获取个人信息
    public static String getUserInfo(){
        return ROOTURL_V2+"user/";
    }
    //获取个人信息
    public static String savrApply(){
        return ROOTURL_V2+"visitApply/";
    }
    //根据城市获取目的地
    public static String getDesitination(){
        return ROOTURL_V2+"findOrganizationListByCity/";
    }
    //根据城市+关键字 获取目的地
    public static String getDesitinationKey(){
        return ROOTURL_V2+"organizationList/";
    }
    //根据单位及手机号查询联系人信息
    public static String getinfoBydanphone(){
        return ROOTURL_V2+"contactList/";
    }
    //查询访客申请记录
    public static String getVisitList(){
        return ROOTURL_V2+"visitApplyRecord/";
    }
    //根据单位查询业主(部门)信息
    public static String getDepartmentByDanwei(){
        return ROOTURL_V2+"proprietorList/";
    }
    //登出／退出登录
    public static String getLoginOut(){
        return ROOTURL_V2+"logout/";
    }
    //修改个人信息
    public static String getChangeUserInfo(){
        return ROOTURL_V2+"userUpdate/";
    }
    //获取城市
    public static String getCityList(){
        return ROOTURL_V2+"provinces/";
    }

    //获取城市代码
    public static String getProvinceAbbreviation(){
        return ROOTURL_V2+"provinceAbbreviation/";
    }

    //修改密码
    public static String getUpdatePwd(){
        return ROOTURL_V2+"updatePwd/";
    }
    //上传有效证件
    public static String getuploadCertificate(){
        return ROOTURL_V2+"uploadCertificate/";
    }

    //用户图像上传
    public static String getUserLogo(){
        return ROOTURL_V2+"userLogo/";
    }

    //被访问接收申请信息
    public static String getReceivedApplyRecord(){
        return ROOTURL_V2+"receivedApplyRecord/";
    }

    //获取申请人信息
    public static String getGuestInfo(){
        return ROOTURL_V2+"getGuestInfo/";
    }

    //查询业主信息
    public static String getProprietorList(){
        return ROOTURL_V2+"proprietorList/";
    }

    //查看空余访客车位数
    public static String getVisitParkingSpaceCount(){
        return ROOTURL_V2+"visitParkingSpaceCount/";
    }

    //反馈
    public static String getSuggestion(){
        return ROOTURL_V2+"suggestion/";
    }

    //审核
    public static String getApplyVerify(){
        return ROOTURL_V2+"applyVerify/";
    }

    //通过申请id查询访单
    public static String getFindVisitApplyRecordById(){
        return ROOTURL_V2+"findVisitApplyRecordById/";
    }

    //获取业主列表
    public static String findProprietorListByToken(){
        return ROOTURL_V2+"findProprietorListByToken/";
    }

    //获取车辆生产商列表
    public static String getCarMaker(){
        return ROOTURL_V2+"carMaker/";
    }

    public static String getCarInfo(){
        return ROOTURL_V2+"car";
    }

    public static String getReceivedRecordCount(){
        return ROOTURL_V2+"receivedRecordCount";
    }
}
